Optimal. Leaf size=92 \[ \frac{2 a d^2 \sqrt{\cos (e+f x)} F\left (\left .\frac{1}{2} (e+f x)\right |2\right ) \sqrt{d \sec (e+f x)}}{3 f}+\frac{2 a d \sin (e+f x) (d \sec (e+f x))^{3/2}}{3 f}+\frac{2 b (d \sec (e+f x))^{5/2}}{5 f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0691213, antiderivative size = 92, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.174, Rules used = {3486, 3768, 3771, 2641} \[ \frac{2 a d^2 \sqrt{\cos (e+f x)} F\left (\left .\frac{1}{2} (e+f x)\right |2\right ) \sqrt{d \sec (e+f x)}}{3 f}+\frac{2 a d \sin (e+f x) (d \sec (e+f x))^{3/2}}{3 f}+\frac{2 b (d \sec (e+f x))^{5/2}}{5 f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3486
Rule 3768
Rule 3771
Rule 2641
Rubi steps
\begin{align*} \int (d \sec (e+f x))^{5/2} (a+b \tan (e+f x)) \, dx &=\frac{2 b (d \sec (e+f x))^{5/2}}{5 f}+a \int (d \sec (e+f x))^{5/2} \, dx\\ &=\frac{2 b (d \sec (e+f x))^{5/2}}{5 f}+\frac{2 a d (d \sec (e+f x))^{3/2} \sin (e+f x)}{3 f}+\frac{1}{3} \left (a d^2\right ) \int \sqrt{d \sec (e+f x)} \, dx\\ &=\frac{2 b (d \sec (e+f x))^{5/2}}{5 f}+\frac{2 a d (d \sec (e+f x))^{3/2} \sin (e+f x)}{3 f}+\frac{1}{3} \left (a d^2 \sqrt{\cos (e+f x)} \sqrt{d \sec (e+f x)}\right ) \int \frac{1}{\sqrt{\cos (e+f x)}} \, dx\\ &=\frac{2 a d^2 \sqrt{\cos (e+f x)} F\left (\left .\frac{1}{2} (e+f x)\right |2\right ) \sqrt{d \sec (e+f x)}}{3 f}+\frac{2 b (d \sec (e+f x))^{5/2}}{5 f}+\frac{2 a d (d \sec (e+f x))^{3/2} \sin (e+f x)}{3 f}\\ \end{align*}
Mathematica [A] time = 0.408076, size = 58, normalized size = 0.63 \[ \frac{(d \sec (e+f x))^{5/2} \left (5 a \sin (2 (e+f x))+10 a \cos ^{\frac{5}{2}}(e+f x) F\left (\left .\frac{1}{2} (e+f x)\right |2\right )+6 b\right )}{15 f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.214, size = 195, normalized size = 2.1 \begin{align*}{\frac{2\, \left ( \cos \left ( fx+e \right ) +1 \right ) ^{2} \left ( \cos \left ( fx+e \right ) -1 \right ) ^{2}}{15\,f \left ( \sin \left ( fx+e \right ) \right ) ^{4}} \left ( 5\,i\sqrt{ \left ( \cos \left ( fx+e \right ) +1 \right ) ^{-1}}\sqrt{{\frac{\cos \left ( fx+e \right ) }{\cos \left ( fx+e \right ) +1}}} \left ( \cos \left ( fx+e \right ) \right ) ^{3}{\it EllipticF} \left ({\frac{i \left ( \cos \left ( fx+e \right ) -1 \right ) }{\sin \left ( fx+e \right ) }},i \right ) a+5\,i\sqrt{ \left ( \cos \left ( fx+e \right ) +1 \right ) ^{-1}}\sqrt{{\frac{\cos \left ( fx+e \right ) }{\cos \left ( fx+e \right ) +1}}} \left ( \cos \left ( fx+e \right ) \right ) ^{2}{\it EllipticF} \left ({\frac{i \left ( \cos \left ( fx+e \right ) -1 \right ) }{\sin \left ( fx+e \right ) }},i \right ) a+5\,\sin \left ( fx+e \right ) \cos \left ( fx+e \right ) a+3\,b \right ) \left ({\frac{d}{\cos \left ( fx+e \right ) }} \right ) ^{{\frac{5}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (d \sec \left (f x + e\right )\right )^{\frac{5}{2}}{\left (b \tan \left (f x + e\right ) + a\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (b d^{2} \sec \left (f x + e\right )^{2} \tan \left (f x + e\right ) + a d^{2} \sec \left (f x + e\right )^{2}\right )} \sqrt{d \sec \left (f x + e\right )}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (d \sec \left (f x + e\right )\right )^{\frac{5}{2}}{\left (b \tan \left (f x + e\right ) + a\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]